package com.hospital.dao;

import com.hospital.entity.FollowUpGroup;
import com.hospital.entity.Level;
import com.hospital.entity.ResponsibleDepartment;
import com.hospital.entity.ResponsibleHospital;
import org.springframework.data.repository.query.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface FollowUpGroupMapper {

    public Integer Insert(FollowUpGroup followUpGroup);

    public int BulkDelete(List<Integer> id);

    public Integer Update(FollowUpGroup followUpGroup);

    public FollowUpGroup SelectByFollowUpGroupId(Integer id);

    public List<FollowUpGroup> SelectAll(@Param("page") Integer page, @Param("pageNum") Integer pageNum);

    public List<FollowUpGroup> SelectLikeCondition(@Param("followUpGroup") FollowUpGroup followUpGroup, @Param("page") Integer page, @Param("pageNum") Integer pageNum);

    public Integer SelectLikeConditionCount(FollowUpGroup followUpGroup);

    public Integer SelectAllCount();

    public List<ResponsibleHospital> SelectByResponsibleHospital();

    public List<ResponsibleDepartment> SelectByResponsibleDepartment();

    public List<Level> SelectByLevel();


}
